package marcin.klasy;

public class Stol {
	String material;
	String stan;
	Blat blat1;
	Noga noga1;
	Noga noga2;
	Noga noga3;
	Noga noga4;
	
	Stol (String material, String ksztaltBlatu, String ksztaltNogi){
		blat1 = new Blat (material, ksztaltBlatu);
		noga1 = new Noga (material, ksztaltNogi);
		noga2 = new Noga (material, ksztaltNogi);
		noga3 = new Noga (material, ksztaltNogi);
		noga4 = new Noga (material, ksztaltNogi);
		this.material = material;
		this.stan = "nowy";
	}
}
